#ifndef MODEL_IO_H
#define MODEL_IO_H

#include "FEMModel.h"

FiniteElementModel *ReadFEM (char const *fn);
void WriteFEM (FiniteElementModel const*fem, char const *);
LinkArray<Node> WriteFEMSubset (LinkArray<Tetrahedron> *, char const*);

void WriteBoundary (FiniteElementModel*mod, char const *fn);
bool ReadDeformationState (DeformationState *,char const*fn);
void WriteDeformationState (DeformationState const*, char const *);



#endif /* MODEL_IO_H */
